package com.bigdata.appliance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdata.appliance.entity.User;
import com.bigdata.appliance.vo.req.ChargeReqVO;
import com.bigdata.appliance.vo.req.GetWalletReqVO;
import com.bigdata.appliance.vo.req.LoginReqVO;
import com.bigdata.appliance.vo.req.RegisterReqVO;
import com.bigdata.appliance.vo.resp.LoginRespVO;

import java.math.BigDecimal;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author appliance-shop
 * @since 2023-12-23
 */
public interface IUserService extends IService<User> {

    void register(RegisterReqVO vo);

    LoginRespVO login(LoginReqVO vo);

    void charge(ChargeReqVO vo);

    BigDecimal getWallet(GetWalletReqVO vo);
}
